<ul>
<?php foreach($selected as $sel) { ?>
        <li style="list-style:none;color:<?php echo $sel->color?>">
        [<a href="javascript:removeTribal(<?php echo $sel->id; ?>)">Quitar</a>] <?php echo $sel->name; ?>
        </li>
<? } ?>
</ul>